<?php



use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\bootstrap\BootstrapAsset;
BootstrapAsset::register($this);
/* @var $this yii\web\View */
/* @var $model common\models\business\BusinessContract */
/* @var $form yii\widgets\ActiveForm */
?>
<table class="table table-hover">
    <tr>
        <td class="success">农户</td>
        <td class="info">代养头数</td>
    </tr>
    <?php foreach($list as $key => $row){?>
    <tr>
        <td><?= $row['farmer'] ?></td>
        <td><?= $row['num']  ?>头</td>
    </tr>
    <?php  } ?>



</table>